//
//  Person.m
//  OCDay2
//
//  Created by dllo on 16/5/23.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "Person.h"

@implementation Person


-(void)info{
    NSLog(@"name: %@, address: %@ ,age: %ld",_name,_address,_age);
}

-(void)setName:(NSString *)name{
    _name = name;
}
-(NSString *)name{
    return _name;
}
-(void)setAddress:(NSString *)address{
    _address = address;
}
-(NSString *)address{
    return _address;
}
-(void)setAge:(NSInteger)age{
    _age = age;
}
-(NSInteger)age{
    return _age;
}
@end
